using System;
using OverredQQ.QQCore.Bean;
using System.Runtime.InteropServices;

namespace OQQ.UI.Beans
{
    /// <summary>
    /// 
    /// </summary>
    [ StructLayout( LayoutKind.Sequential )]
    public struct NormalIMStruct
	{
        public ReceiveIMHeader Header;
        public NormalIMHeader NormalHeader;
        public NormalIM IM;

        public NormalIMStruct(
            ReceiveIMHeader header,
            NormalIMHeader normalHeader,
            NormalIM im)
        {
            this.Header = header;
            this.NormalHeader = normalHeader;
            this.IM = im;
        }
	}

    [ StructLayout( LayoutKind.Sequential )]
    public struct ClusterIMStruct
    {
        public ReceiveIMHeader Header;
        public ClusterIM IM;

        public ClusterIMStruct(
            ReceiveIMHeader header,
            ClusterIM im)
        {
            this.Header = header;
            this.IM = im;
        }
    }
}
